import axios from "../libs/api.request";

export const login = (userData)=>{
  return axios.request({
    url:'login',
    data:userData,
    method:'post'
  })
}

export const logout = (data)=>{
  return axios.request({
    url:'logout',
    data:data,
    method:'post'
  });
}